/**
 * @file
 * @auth jinguangguo
 * @date 2016/10/26
 */

import ajax from '../../../grsc-base/util/ajax';

export default {

    /**
     * 公告列表
     * @param param
     * @returns {*}
     */
    getTotalAssets(param = {}) {
        return ajax.get('/exchangeApi/noticeApi/assetCodeList', {
            data: param,
        });
    },

    /**
     * 公告详情
     * @param param
     * @returns {*}
     */
    noticeDetail(param = {}, header = {}) {
        return ajax.get('/exchangeApi/noticeApi/latestInfo', {
            data: param,
            header: header
        });
    },

    fundList(param = {}) {
        return ajax.get('http://fund.dfpchain.com:2019/api/fund/intro', {
            data: param
        });
    },

    /**
  * 获取币种排名
  * @param param
  * @returns {*}
  */
    getConfigSymbolRank(param = {}) {
        return ajax.get('/exchangeApi/configSymbol-Operate/getConfigSymbolRank', {
            data: param
        });
    },


};